/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package samoloty.data;

import java.util.ArrayList;
import samoloty.model.models.PaxWeightsModel;


public class CommonDataBase {

    public CommonDataBase(){
        initData();
    }

    private void initData(){
        initPaxWeights();
    }

    public ArrayList<PaxWeightsModel> getPaxWeights(){
        return paxWeihtsData;
    }

    public void initPaxWeights(){
        paxWeihtsData = new ArrayList<PaxWeightsModel>();
        paxWeihtsData.add(new PaxWeightsModel("Scheduled Flight M84 F84 CH35", 84, 84, 35));
        paxWeihtsData.add(new PaxWeightsModel("ALT Scheduled Flight M88 F70 CH35", 88, 70, 35));
        paxWeihtsData.add(new PaxWeightsModel("Holiday charter M76 F76 CH35", 76, 76, 35));
        paxWeihtsData.add(new PaxWeightsModel("ALT Holiday charter M83 F69 CH35", 83, 69, 35));
    }

   private ArrayList<PaxWeightsModel> paxWeihtsData;
}
